<div class="layui-card layui-bg-gray">
    {block name='style'}{/block}
    {notempty name='title'}
    <div class="layui-card-header layui-anim layui-anim-fadein notselect">
        <span class="layui-icon layui-icon-next font-s10 color-desc margin-right-5"></span>{$title|default=''}
        <div class="pull-right">{block name='button'}{/block}</div>
    </div>
    {/notempty}
    <div class="layui-card-body layui-anim layui-anim-upbit">
        <form onsubmit="return false" data-auto="true" action="{:url()}" method="post" class="think-box-shadow padding-40 padding-bottom-10">
            <div class="layui-row layui-col-space30">
                <div class="layui-col-md6 layui-col-lg-offset3">
                    <div class="layui-form">
                        <label class="relative block">
                            <span class="color-green font-w7">默认首页</span>
                            <input type="text" name="app_index" placeholder="http://fk.wandhi.com" value="{:sysconf('app_index')}" class="layui-input">
                        </label>
                    </div>
                    <div class="layui-form">
                        <label class="relative block">
                            <span class="color-green font-w7">天气key</span>
                            <input type="text" name="app_weakey" placeholder="天气接口key" value="{:sysconf('app_weakey')|'e806161edc194a9992932f8492e867b8'}" class="layui-input">
                        </label>
                    </div>
                    <div class="layui-form">
                        <label class="relative block">
                            <span class="color-green font-w7">统计代码</span>
                            <textarea name="app_tongji" class="layui-textarea" cols="30" rows="10">{:sysconf('app_tongji')}</textarea>
                        </label>
                    </div>
                </div>
            </div>
            <div class="hr-line-dashed"></div>
            <div class="layui-form-item text-center">
                <button class="layui-btn" type="submit">保存配置</button>
            </div>
        </form>
    </div>
    {block name='script'}{/block}
</div>